package com.zhouyu.exampleboot.config.event;

import org.springframework.context.ApplicationEvent;

public class MyEvent extends ApplicationEvent {
    private String msg;
    public MyEvent(Object source) {
        super(source);
    }
    public MyEvent(Object source,String msg){
        super(source);
        this.msg=msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
